import { ref, reactive, onMounted } from 'vue'
import axios from 'axios'

export default function () {

    let sum = ref(0)

    function add() {
        sum.value += 1
    }

    onMounted(()=>{
        add()
    })
    return {sum,add}
}
